﻿<Selection:SelectControl x:Class="jSLApp.Client.Forms.Forum"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Selection="clr-namespace:jSLCore.Client.Presentation.BaseControl.Selection;assembly=jSLCore.Client.Presentation" xmlns:j="clr-namespace:jSLCore.Client.Presentation.Controls;assembly=jSLCore.Client.Presentation" xmlns:local="clr-namespace:jSLApp.Client.Controls" mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" AcceptButtonName="searchButton">
    <j:ImageGroupBox ImageSource="../resources/search.png">
        <j:ImageGroupBox.Header>
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="Поиск:" VerticalAlignment="Center"/>
                <TextBox Width="150" x:Name="txt">
                    <!--todo: Сюда вставить WarnOnManyWordsWarning-->
                </TextBox>
                <Button Content="Обновить" Name="searchButton"/>
                <Button Content="Создать тему" Click="createTopic_Clicked"/>
            </StackPanel>
        </j:ImageGroupBox.Header>
        <local:TopicGrid x:Name="grid"/>
    </j:ImageGroupBox>
</Selection:SelectControl>
